DescribeSearchCondition
Description
call DescribeSearchCondition to obtain filter criteria for query assets.
Request Method
POST
Request Path
/apsara/route/Sas/DescribeSearchCondition
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Type | BODY | string | No | ecs | the asset type of the query. ecs : Indicates the filter criteria for querying all ECS servers. cloud_product : indicates the filter criteria for querying all cloud products. |
| SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Lang | BODY | string | No | zh | the language type of the request and receive message. zh: Chinese en: English |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| ConditionList | array | No sample value for this parameter. | filter condition information. |
| RequestId | string | No sample value for this parameter. | request ID of the result. |
| FilterConditions | string | No sample value for this parameter. | filter condition. |
| ConditionType | string | No sample value for this parameter. | condition type. Value: system: system default filter criteria user: user-defined filter criteria |
| Name | string | No sample value for this parameter. | condition name. |
| NameKey | string | No sample value for this parameter. | the key value of the condition name. |
Example
Successful Response example
"The successful response sample is not recognizable. Please modify API definition in API gateway before re-create the API document."
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}